package com.scujj.cs6.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scujj.cs6.model.entity.UserFollow;
import com.scujj.cs6.model.vo.UserFanVo;
import com.scujj.cs6.model.vo.UserFollowVo;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

/**
* @author FlanChan
* @description 针对表【user_follow】的数据库操作Service
* @createDate 2025-03-25 21:21:24
*/
public interface UserFollowService extends IService<UserFollow> {

    void followUser(Long id, HttpServletRequest request);

    void cancelFollow(Long id, HttpServletRequest request);

    List<UserFollowVo> getFollowList(HttpServletRequest request);

    List<UserFanVo> getFansList(HttpServletRequest request);

    Boolean isFollow(HttpServletRequest request);
}
